package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "service_order")
public class Order extends TXBYObject {
	private Integer uid;
	@Column(name = "user_name") @JSONField(name = "user_name")
	private String userName;
	@Column(name = "service_id") @JSONField(name = "service_id")
	private Integer serviceId;
	private Integer state;
	private Integer doctor;
	@Column(name = "doctor_name") @JSONField(name = "doctor_name")
	private String doctorName;
	private String title;
	private String coupon;
	private Integer score;
	@Column(name = "mod_time") @JSONField(name = "mod_time")
	private Long modTime;
	private Integer team;
	@Column(name = "register_time") @JSONField(name = "register_time")
	private Long registerTime;
	@Column(name = "exec_time") @JSONField(name = "exec_time")
	private Long execTime;
	private Integer type;
	@Column(name = "order_pay") @JSONField(name = "order_pay")
	private Float orderPay;
	@Column(name = "total_pay") @JSONField(name = "total_pay")
	private Float totalPay;
	private String phone;
	private String comment;
	@Column(name = "inner_comment") @JSONField(name = "inner_comment")
	private String innerComment;
	private Integer property;
	private Integer confirm;
	private Integer half;   // 上下午
	private Integer number;   // 序号

	@Column(name = "security_code")
	@JSONField(name = "security_code")
	private String securityCode;  // 验证码

	@Column(name = "start_time")
	@JSONField(name = "start_time")
	private String startTime;   // 起始时间

	@Column(name = "end_time")
	@JSONField(name = "end_time")
	private String endTime;  // 结束时间
	private Integer age;     // 年龄
	private Integer pay;     // 付款状态
	private Float payment;   // 付款金额 
	
	public Integer getPay() {
		return pay;
	}

	public void setPay(Integer pay) {
		this.pay = pay;
	}

	public Float getPayment() {
		return payment;
	}

	public void setPayment(Float payment) {
		this.payment = payment;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getHalf() {
		return half;
	}

	public void setHalf(Integer half) {
		this.half = half;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getSecurityCode() {
		return securityCode;
	}

	public void setSecurityCode(String securityCode) {
		this.securityCode = securityCode;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}


	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getServiceId() {
		return serviceId;
	}

	public void setServiceId(Integer serviceId) {
		this.serviceId = serviceId;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getDoctor() {
		return doctor;
	}

	public void setDoctor(Integer doctor) {
		this.doctor = doctor;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCoupon() {
		return coupon;
	}

	public void setCoupon(String coupon) {
		this.coupon = coupon;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Long getModTime() {
		return modTime;
	}

	public void setModTime(Long modTime) {
		this.modTime = modTime;
	}

	public Integer getTeam() {
		return team;
	}

	public void setTeam(Integer team) {
		this.team = team;
	}

	public Long getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Long registerTime) {
		this.registerTime = registerTime;
	}

	public Long getExecTime() {
		return execTime;
	}

	public void setExecTime(Long execTime) {
		this.execTime = execTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Float getOrderPay() {
		return orderPay;
	}

	public void setOrderPay(Float orderPay) {
		this.orderPay = orderPay;
	}

	public Float getTotalPay() {
		return totalPay;
	}

	public void setTotalPay(Float totalPay) {
		this.totalPay = totalPay;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getInnerComment() {
		return innerComment;
	}

	public void setInnerComment(String innerComment) {
		this.innerComment = innerComment;
	}

	public Integer getProperty() {
		return property;
	}

	public void setProperty(Integer property) {
		this.property = property;
	}

	public Integer getConfirm() {
		return confirm;
	}

	public void setConfirm(Integer confirm) {
		this.confirm = confirm;
	}
}